package com.jk.api;

import com.jk.bo.ReserveBO;
import com.jk.po.DestinationPO;
import org.springframework.web.bind.annotation.*;

@RequestMapping("scenicService")
@ResponseBody
public interface ScenicApi {
/**
 * @param id
 * @author 赵磊荣
 * @date 2021/7/1 9:38
 * @return 景点详情
 */
    @GetMapping("queryScenicbyId/{id}")
    DestinationPO queryScenicbyId(@PathVariable("id") String id);
/*
 * @param rbO
 * @author 赵磊荣
 * @date 2021/7/1 9:57
 * @return 新增景点
 */
    @PostMapping("saveScenicinfo")
    void saveScenicinfo(@RequestBody ReserveBO rbO);
}
